package org.csu.forum.service;

import org.csu.forum.domain.PO.*;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface SectionService {

    //返回生成的sectionID
    public int addSection(Section section);

    public void deleteSection(int sectionid);

    public void editSection(Section section);

    public List<Section> getSectionList();

    public int addZones(Zone zone);

    public void deleteZone(int zoneid);

    public void editZone(Zone zone);

    public List<Zone> getZoneList(int sectionid);

    public int getSectionOwner(int sectionid);

    public void editPostStatus(Titlepost titlepost);

    public Files getFileSrc(int fileid);

    public void deleteTitlePost(int postid);

    public Titlepost getTitlepost(int postid);

    public int getSectionIdByZoneId(int zoneid);

    public List<Files> getFileList(int sectionId);
}
